package com.mumulx.check.service.service.impl;

import com.mumulx.check.mapper.TeamProjectMemberMapper;
import com.mumulx.check.model.TeamProjectMember;
import com.mumulx.check.service.service.TeamProjectMemberService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/*
 *  Created by IntelliJ IDEA.
 *  User: 木木
 *  Date: 2020/4/14
 *  Time: 17:09
 */
@Service("teamProjectMemberService")
public class TeamProjectMemberServiceImpl implements TeamProjectMemberService {


    @Resource
    TeamProjectMemberMapper teamProjectMemberMapper;


    @Override
    public Boolean add(TeamProjectMember teamProjectMember) {

        int rs = teamProjectMemberMapper.add(teamProjectMember);
        if (rs == 0) {
            return false;
        }
        return true;
    }


}
